package xkp.lesson5;

public class Demo1 {
	public static void main(String[] args) {
		byte a = 10;
		//0000 1010
		byte b = -10;
		//1000 1010
		//在byte中0  0000 0000
		byte num1 = -1;
		byte num2 = -127;
		
		int int1 = 100;
		int int2 = 3;
		//两个整数相除结果依然是整数
		int int3 = int1/int2;
		double double1 = int1/int2;
		System.out.println(int3);
		System.out.println(double1);
		double double2 = 33;
		System.out.println(double2);
		System.out.println(-100%3);
	}

}
